package com.changmu.msf.admin;

import lombok.extern.slf4j.Slf4j;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;
import org.springframework.web.bind.annotation.RestController;

/**
 * Created by chang on 2018/9/25.
 */
@Slf4j
@RestController
public class SystemController {

    @RequestMapping(value = "/checkHealth.htm", method = RequestMethod.GET)
    public String health() {
        log.info("system health check, success!");
        return "success";
    }
}
